Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-38699 | RHEL-06-000337 | SV-50500r2_rule | Low |
Description |
---|
Allowing a user account to own a world-writable directory is undesirable because it allows the owner of that directory to remove or replace any files that may be placed in the directory by other users. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 6 Security Technical Implementation Guide | 2019-03-08 |
Check Text ( C-46260r3_chk ) |
---|
The following command will discover and print world-writable directories that are not owned by a system account, given the assumption that only system accounts have a uid lower than 500. Run it once for each local partition [PART]: # find [PART] -xdev -type d -perm -0002 -uid +499 -print If there is output, this is a finding. |
Fix Text (F-43648r1_fix) |
---|
All directories in local partitions which are world-writable should be owned by root or another system account. If any world-writable directories are not owned by a system account, this should be investigated. Following this, the files should be deleted or assigned to an appropriate group. |